<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <c:import url="/static/common/easyui_header.jsp"/>
    <script type="text/javascript" src="/static/hanCloud/hanCloud.js"></script>
    <title>han云</title>
</head>
<body>
    <div id="hanCloud_layout" class="easyui-layout" fit="true">
    <div data-options="region:'north'" style="height:88px;">
            &emsp;
        <div style="padding: 10px;height: 10px;" >
            <form id="file_form" action="/hancloud/upload" method="post" enctype="multipart/form-data" style="height: 30px">
            <a class="easyui-linkbutton" data-options="" data-cmd="create_folder">新建文件夹</a>
            <input class="easyui-filebox" buttonText="选择文件" id="myfile" style="width:300px" name="file">
            <a class="easyui-linkbutton" data-options="" data-cmd="upload_file">上传</a>
            <a class="easyui-linkbutton" data-options="" data-cmd="douwload_file">下载</a>
            <a class="easyui-linkbutton" data-options="" data-cmd="delete_file">删除</a>
            </form>
        </div>
    </div>
    <div data-options="region:'south'" style="padding: 10px;text-align: center">
        版权所有@吃鸡小分队
    </div>
    <div data-options="region:'center',title:'云盘'">
        <ul id="hanCloud_tree"></ul>
    </div>

        <%--新增文件夹对话框--%>
        <div id="folder_dialog" class="easyui-dialog" style="width: 300px;height: 150px"
             data-options="title:'新建文件夹',buttons:'#audit_btns',closed:true">
            <form id="folder_form" method="post">
                <input type="hidden" name="id">
                <table align="center" style="margin-top: 10px;font-size: 12px" cellspacing="10px" width="280px"
                       cellpadding="5px">
                    <tr align="right" style="height: 30px">
                        <td><span style="font-size: 14px">文件名:</span></td>
                        <td><input class="easyui-textbox" name="text"
                                   style="width: 120px;height: 22px;"/></td>
                        </td>
                    </tr>
                </table>
            </form>
        </div>
        <div id="audit_btns">
            <a class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" data-cmd="save">创建</a>
            <a class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancel">取消</a>
        </div>
</div>
</body>
</html>
